﻿using Process.Model;

namespace Process.BLL
{
    public interface IProcessRepository<T> where T : Entity
    {
        Task<int> CreateAsync(T entity);
        Task <int> DeleteAsync(T entity);
        Task <int> DeleteRangeAsync(List<T> t);
        Task<int> UpdateAsync(T entity);
        IQueryable<T> GetAllAsync();
    }
}
